﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using EightBallClient.EightBallService;

namespace EightBallClient
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("********** MagicEightBall Client ***********");

            using (var ball = new MagicEightBallClient())
            {
                Console.WriteLine("Type a question for the magic eightball:");
                var question = Console.ReadLine();
                var answer = ball.ObtainAnswerToQuestion(question);
                Console.WriteLine("Answer: " + answer);
            }

            Console.ReadLine();
        }
    }
}
